package com.shark.springbootcms.service;

import com.shark.springbootcms.common.Result;
import com.shark.springbootcms.form.UserForm;
import com.shark.springbootcms.model.User;

public interface UserService {
    Result register(User user);

    Result login(User user);

    Result list(UserForm form);

    Result add(User user);

    Result edit(User user, String id);

    Result delete(String id);

    Result roles();
}
